#ifndef VIDEOTHREAD_H
#define VIDEOTHREAD_H

#include <QDebug>
#include <QThread>
#include <QProcess>
#include "glfile.h"

class VideoThread : public QThread
{
    Q_OBJECT
private:
    QString binPath;
    QProcess process;
    QStringList args;
    GLFile glfile;
public:
    void run();
    VideoThread();
    void init(void);
    void setPath(QString path);
signals:
    void videoStatusSignals(int staus,QString str);
};

#endif // VIDEOTHREAD_H
